static colaExecStatus_t colaStubM0(colaThread_t *thread, colaExecStackVar_t *stack)
{
    colaDataReference_t *ref;
    colaExecArrayRef_t *aref;
    colaExecStatus_t r;
    colaExecObjectRef_t *thisV;
    colaString_t *returnV;


    COLA_POP_STACK(stack, colaExecObjectRef_t, thisV);
    returnV = COLA_STACKVAR(stack, colaString_t);

    r = colaClientName(thread, returnV, thisV);

    if(r == COLA_EXEC_OK)
        stack->info.alive = 1;
    return r;
}

static colaExecStatus_t colaStubM1(colaThread_t *thread, colaExecStackVar_t *stack)
{
    colaDataReference_t *ref;
    colaExecArrayRef_t *aref;
    colaExecStatus_t r;
    colaExecObjectRef_t *thisV;


    COLA_POP_STACK(stack, colaExecObjectRef_t, thisV);
    r = colaClientCreate(thread, thisV);

    return r;
}

static colaAPIStandardMethod_t colaStubMethods[] =
{
    { colaStubM0, "Name", "" },
    { colaStubM1, "create", "" },
    { NULL },
};

static colaAPI_t colaStubAPI =
{
    colaStubMethods,
    NULL,
    NULL,
    NULL,
    NULL
};
